package com.angel.architecture.daos;


import java.util.Collection;

import com.angel.architecture.persistence.beans.Action;
import com.angel.architecture.persistence.beans.Role;
import com.angel.architecture.persistence.ids.ObjectId;
import com.angel.dao.generic.interfaces.GenericDAO;

public interface RoleDAO extends GenericDAO<Role, ObjectId> {

    public Collection<Role> findAllByAccion(Action accion) ;

    public Collection<Role> findAllByDescription(String description);

    public Role findUniqueByName(String name);

}
